package org.plex.task.imp;

import org.plex.task.CompleteTaskResult;

public class CompleteTaskResultImp implements CompleteTaskResult
{

	private com.adobe.idp.taskmanager.dsc.client.task.CompleteTaskResult	completeTaskResult;

	public CompleteTaskResultImp(
			com.adobe.idp.taskmanager.dsc.client.task.CompleteTaskResult completeTaskResult)
			throws NullPointerException
	{
		if (null == completeTaskResult)
		{
			throw new NullPointerException();
		}
		this.completeTaskResult = completeTaskResult;
	}

	public long getActionId()
	{

		return completeTaskResult.getActionId();
	}

	public String getCompleteUserId()
	{
		return this.completeTaskResult.getCompleteUserId();
	}

	@Deprecated
	public long getInitiatedProcessId()
	{
		// TODO Auto-generated method stub
		return this.completeTaskResult.getInitiatedProcessId();
	}

	@Deprecated
	public String getInitiatedProcessTypeName()
	{
		// TODO Auto-generated method stub
		return this.completeTaskResult.getInitiatedProcessTypeName();
	}

	public String getInvocationId()
	{
		// TODO Auto-generated method stub
		return this.completeTaskResult.getInvocationId();
	}

	public long getQueueId()
	{
		// TODO Auto-generated method stub
		return this.completeTaskResult.getQueueId();
	}

	public long getTaskId()
	{
		// TODO Auto-generated method stub
		return this.completeTaskResult.getTaskId();
	}

	public boolean isProcessInitiated()
	{
		// TODO Auto-generated method stub
		return this.completeTaskResult.isProcessInitiated();
	}

	public boolean isWorkflowTask()
	{
		// TODO Auto-generated method stub
		return this.completeTaskResult.isWorkflowTask();
	}

	public void setCompleteTaskResult(
			com.adobe.idp.taskmanager.dsc.client.task.CompleteTaskResult completeTaskResult)
	{
		this.completeTaskResult = completeTaskResult;
	}

	public com.adobe.idp.taskmanager.dsc.client.task.CompleteTaskResult getCompleteTaskResult()
	{
		return completeTaskResult;
	}

}
